|
Development Steps
1
|
Create an instance of
CSSelector
by using one of its
static
factory methods.
|
2
|
Get the list of identifiers encountered during the parse by calling
getIdentifiers()
on the
CSSelector
instance.
|
3
|
For each
Message
that you want to evaluate with the selector create a
Map
and populate it
with the identifier names and values. Or, create an instance of
ICSValueProvider
.
|
4
|
Call
eval()
on the
CSSelector
instance to evaluate the selector. You can invoke either the
Map
or the
ICSValueProvider
version of the
eval()
method. Note, if you use the
ICSValueProvider
version of
eval()
then callbacks on the
ICSValueProvider
instance
will be invoked to get values of identifiers during evaluation.
|
|